package itsm.isperp.module.service.wechat.mp;

import itsm.isperp.framework.service.TreeNodeService;
import itsm.isperp.module.entity.wechat.mp.WechatMpMenu;
import itsm.isperp.module.repository.wechat.mp.WechatMpMenuMapper;
import itsm.isperp.module.service.wechat.WechatMenuService;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * 
 * 
 * 
 * @author lizx
 * @date 2014-5-31
 * @since 1.0
 * 
 */

@Service
public class WechatMpMenuService extends WechatMenuService<WechatMpMenu> {

	@Autowired
	protected WechatMpMenuMapper wechatMenuMapper;

	@Override
	public WechatMpMenuMapper getRepository() {
		return wechatMenuMapper;
	}

	@Override
	public WechatMpMenu findOneByKey(String menuKey) {
		return this.wechatMenuMapper.findOneByKey(menuKey);
	}

}
